# Makefile -makefile for lib
#
# modification history
#
# 2011/01/24 written.
#

CC     = gcc
OFLAGS = -Wall
CFLAGS = -Wall -I ../include

##
HDRS = memlib.h strlib.h
OBJS = memlib.o strlib.o test.o
EXES = libtest
##


all:  $(EXES)

$(EXES):  $(OBJS) $(LIBS)
	$(CC) -g -o $(EXES) $(OBJS) $(OFLAGS) 

.c.o:
	$(CC) $(CFLAGS) -g -c $< 

clean :	
	rm -f libtest
	rm -f *.o
